package com.example.high_slope_electronic_sand_table.slopeMechanics.dto;

import com.example.high_slope_electronic_sand_table.common.config.CustomFloatSerializer;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 边坡力学监测-锚杆测力计：锚杆拉力
 */
@Data
@Schema(description = "锚杆测力计")
public class AnchorBoltDynamometerMonitorDTO {
    @Schema(description = "设备ID")
    private String deviceId; // 设备ID
    @Schema(description = "锚杆拉力")
    @JsonSerialize(using = CustomFloatSerializer.class)
    private Float anchorBoltDynamometer; // 锚杆拉力
    @Schema(description = "锚杆拉力告警等级")
    private Integer anchorBoltDynamometerWarningLevel; // 锚杆拉力告警等级
    @Schema(description = "上报时间")
    private String datetime;// 上报时间
}
